package com.ghck.shop.config.remote;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter;

@Configuration
public class HttpInvokerServerConfig extends BaseRemoteConfig{
	//以下通过httpInvoker发布接口
/*
    @Bean(name = "/fooHttpInvokerService")
    public HttpInvokerServiceExporter fooServiceHttpInvoker() {
        HttpInvokerServiceExporter exporter = new HttpInvokerServiceExporter();
        exporter.setService(userService);
        exporter.setServiceInterface(UserService.class);
        return exporter;
    }
*/

}